{% extends 'base.html' %}

{% block content %}
<div class="card">
    <div class="card-body">
        <h2 class="card-title">确认删除作业提交</h2>
        <p class="card-text mb-4">确定要删除作业提交 "{{ object }}" 吗？此操作不可撤销。</p>
        <form method="post" class="d-flex gap-2">
            {% csrf_token %}
            <button type="submit" class="btn btn-danger">确认删除</button>
            <a href="{% url 'core:homework_submission_list' %}" class="btn btn-secondary">取消</a>
        </form>
    </div>
</div>
{% endblock %}